package com.dq.health.entity.outpatient;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * 门诊单
 * 
 * @author chenxin
 */
public class OutpatientOrder implements Serializable {

    /**
     * 门诊单id
     */
    @TableId(value = "outpatient_order_id", type = IdType.AUTO)
    private Long outpatientOrderId;

    /**
     * 门诊单单号
     */
    private String outpatientOrderSn;

    /**
     * 预约人id
     */
    private Long userId;

    /**
     * 看诊医生id
     */
    private Long doctorUserId;

    /**
     * 预约时间
     */
    private Date orderTime;

    /**
     * 单据状态
     */
    private Byte orderStatus;

    private Date createTime;

    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Long getOutpatientOrderId() {
        return outpatientOrderId;
    }

    public void setOutpatientOrderId(Long outpatientOrderId) {
        this.outpatientOrderId = outpatientOrderId;
    }

    /**
     * 获取门诊单id
     */
    public String getOutpatientOrderSn() {
        return outpatientOrderSn;
    }

    /**
     * 设置门诊单id
     */
    public void setOutpatientOrderSn(String outpatientOrderSn) {
        this.outpatientOrderSn = outpatientOrderSn;
    }

    /**
     * 获取预约人id
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置预约人id
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取看诊医生id
     */
    public Long getDoctorUserId() {
        return doctorUserId;
    }

    /**
     * 设置看诊医生id
     */
    public void setDoctorUserId(Long doctorUserId) {
        this.doctorUserId = doctorUserId;
    }

    /**
     * 获取预约时间
     */
    public Date getOrderTime() {
        return orderTime;
    }

    /**
     * 设置预约时间
     */
    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    /**
     * 获取单据状态
     */
    public Byte getOrderStatus() {
        return orderStatus;
    }

    /**
     * 设置单据状态
     */
    public void setOrderStatus(Byte orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}